package com.opgea.crm.repository;

import javax.persistence.EntityManager;
import javax.persistence.PersistenceContext;

import org.springframework.stereotype.Repository;

import com.opgea.crm.domain.entities.ProjectEstimationHistory;

@Repository
public class ProjectEstimationRepoImpl implements ProjectEstimationRepo{
	
	
	@PersistenceContext
	private EntityManager em;

	@Override
	public void create(ProjectEstimationHistory projectEstimationHistory) {
		em.persist(projectEstimationHistory);
	}

	@Override
	public ProjectEstimationHistory find(Long id) {
		return em.find(ProjectEstimationHistory.class, id);
	}
	@Override
	public void remove(Long id) {
		// TODO Auto-generated method stub
		
	}

	@Override
	public void update(ProjectEstimationHistory projectEstimationHistory) {
		// TODO Auto-generated method stub
		
	}
	

	

}
